package factory.ab;

import factory.Duck;
import factory.Restaurant;

/**
 * 烤鸭工厂
 *
 * @author: 任福祥
 * * @create: 2024-02-22 09:45
 */
public class DuckFactory extends CookFactory{
    @Override
    public Restaurant createRestaurant() {
        return new Duck();
    }
}